package org.dromara.business.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 账号等级与经验值对应对象 t_user_level
 *
 * @author Hao Tong Xue
 * @date 2025-04-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_user_level")
public class UserLevel extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 等级 ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 账号等级
     */
    private Integer userLevel;

    /**
     * 等级名称
     */
    private String levelName;

    /**
     * 升级所需经验值
     */
    private Integer requiredExperience;

    /**
     * 每日可获取经验上限 -> 预留
     */
    private Long dailyExpLimit;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;

    /**
     * 备注
     */
    private String remark;


}
